<?php

require_once("Controller/LoginController.php");
require_once("View/PageView.php");
require_once("View/PageFooter.php");

session_start();

// Init the page, and get HTML content.
$loginController = new LoginController();
$htmlContent = $loginController->runLoginApp();

// Get the page footer with date.
$pageFooter = new PageFooter();
$footer = $pageFooter->getHTML();

// Echo out the final page.
$pageView = new PageView();
echo $pageView->getHTML($htmlContent, $footer);


